package com.wjk.kylin.id.core.dto;

/**
 * 返回对象
 */
public class IdInfoDTO {

    /**
     * 开始id
     */
    private Long beginId;

    /**
     * 当前最大id
     */
    private Long maxId;

    /**
     * 每次id增量，增长量
     */
    private Integer delta;


    public Long getBeginId() {
        return beginId;
    }

    public void setBeginId(Long beginId) {
        this.beginId = beginId;
    }

    public Long getMaxId() {
        return maxId;
    }

    public void setMaxId(Long maxId) {
        this.maxId = maxId;
    }

    public Integer getDelta() {
        return delta;
    }

    public void setDelta(Integer delta) {
        this.delta = delta;
    }

    @Override
    public String toString() {
        return "IdInfoDTO{" +
                "beginId=" + beginId +
                ", maxId=" + maxId +
                ", delta=" + delta +
                '}';
    }
}
